package Num15_20200311;

import java.util.Scanner;

public class Num15_20200311_hxj {
    public static void main(String[] args) {
        // 输入三个整数x,y,z,请把这三个数由小到大输出
        //String str=scan.nextLine();
        Scanner scan=new Scanner(System.in);
        System.out.println("a:");
        int a=scan.nextInt();
        System.out.println("b:");
        int b=scan.nextInt();
        System.out.println("c:");
        int c=scan.nextInt();
        int[] arr= {a,b,c};
        if(arr[0]>arr[1]) {
            swap(arr,0,1);
        }
        if(arr[0]>arr[2]) {
            swap(arr,0,2);
        }
        if(arr[1]>arr[2]) {
            swap(arr,1,2);
        }
        System.out.println(arr[0]+"<"+arr[1]+"<"+arr[2]);
    }
    public static void swap(int[] arr,int i,int j) {
        int t;
        t=arr[i];
        arr[i]=arr[j];
        arr[j]=t;
    }
}
